import http from '@/utils/http'
const env = import.meta.env
const BASE_URL = env.PROD ? `${env.VITE_API_BASE_URL}/api` : '/api'

/** @desc 图片上传 */
export function uploadImage() {
  return `${BASE_URL}/v1/upload/commonUpload`
}

/** @desc 视频上传 */
export function uploadVideo() {
  return `${BASE_URL}/v1/upload/schoolVideo`
}
